import request from '@/utils/request'

// 添加不良信息
export function addBadRecord(data) {
    return request({
        url: '/addBadRecord',
        method: 'post',
        data
    })
}

// 查询所有用户的不良信息
export function queryBadRecord(data) {
    return request({
        url: '/queryBadRecord',
        method: 'get',
        params:data
    })
}